<div class="progress {{cssClass}}" [ngClass]="{'thin': thin}">
  <div class="progress-bar  {{ type? 'progress-bar-' + type : ''}}" role="progressbar"
       [attr.aria-valuenow]="value" aria-valuemin="0"
       [attr.aria-valuemax]="max" style="min-width: 2em;" [style.min-width.%]="value * 100 / max">
    {{text}}
  </div>
</div>
